#ifndef __FONT_DIGITS_H
#define __FONT_DIGITS_H


// Garmin inspired digits


#define fnt_dig_big &digits_big
#define fnt_dig_med &digits_medium
#define fnt_dig_sml &digits_small


// Big digits 14x34
static const Font_TypeDef digits_big = {
		14,          // Font width
		34,          // Font height
		68,          // Bytes per character
		font_H,      // Vertical font scan lines
		48,          // First character: '0'
		57,          // Last character: '9'
		48,          // Unknown character: '0'
		{
				// 0
				0xFC,0x0F,
				0xFE,0x1F,
				0xFF,0x3F,
				0xFF,0x3F,
				0x1F,0x3E,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x1F,0x3E,
				0xFF,0x3F,
				0xFF,0x3F,
				0xFE,0x1F,
				0xFC,0x0F,
				// 1
				0x00,0x03,
				0x00,0x07,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x0F,
				0x00,0x07,
				0x00,0x03,
				// 2
				0xFC,0x0F,
				0xFE,0x1F,
				0xFF,0x3F,
				0xFF,0x3F,
				0x00,0x3E,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3E,
				0xFC,0x3F,
				0xFE,0x3F,
				0xFF,0x1F,
				0xFF,0x0F,
				0x1F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x1F,0x00,
				0xFF,0x3F,
				0xFF,0x3F,
				0xFE,0x1F,
				0xFC,0x0F,
				// 3
				0xFC,0x0F,
				0xFE,0x1F,
				0xFF,0x3F,
				0xFF,0x3F,
				0x00,0x3E,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0xFC,0x3F,
				0xFC,0x1F,
				0xFC,0x1F,
				0xFC,0x3F,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3E,
				0xFF,0x3F,
				0xFF,0x3F,
				0xFE,0x1F,
				0xFC,0x0F,
				// 4
				0x0C,0x0C,
				0x0E,0x1C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x1F,0x3C,
				0xFF,0x3F,
				0xFF,0x3F,
				0xFE,0x3F,
				0xFC,0x3F,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x1C,
				0x00,0x0C,
				// 5
				0xFC,0x0F,
				0xFE,0x1F,
				0xFF,0x3F,
				0xFF,0x3F,
				0x1F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x1F,0x00,
				0xFF,0x0F,
				0xFF,0x1F,
				0xFE,0x3F,
				0xFC,0x3F,
				0x00,0x3E,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3E,
				0xFF,0x3F,
				0xFF,0x3F,
				0xFE,0x1F,
				0xFC,0x0F,
				// 6
				0xFC,0x0F,
				0xFE,0x1F,
				0xFF,0x3F,
				0xFF,0x3F,
				0x1F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0x0F,0x00,
				0xFF,0x0F,
				0xFF,0x1F,
				0xFF,0x3F,
				0xFF,0x3F,
				0x0F,0x3E,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x1F,0x3E,
				0xFF,0x3F,
				0xFF,0x3F,
				0xFE,0x1F,
				0xFC,0x0F,
				// 7
				0xFC,0x0F,
				0xFE,0x1F,
				0xFF,0x3F,
				0xFF,0x3F,
				0x00,0x3E,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x1C,
				0x00,0x0C,
				// 8
				0xFC,0x0F,
				0xFE,0x1F,
				0xFF,0x3F,
				0xFF,0x3F,
				0x1F,0x3E,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0xFF,0x3F,
				0xFE,0x1F,
				0xFE,0x1F,
				0xFF,0x3F,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x1F,0x3E,
				0xFF,0x3F,
				0xFF,0x3F,
				0xFE,0x1F,
				0xFC,0x0F,
				// 9
				0xFC,0x0F,
				0xFE,0x1F,
				0xFF,0x3F,
				0xFF,0x3F,
				0x1F,0x3E,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x0F,0x3C,
				0x1F,0x3C,
				0xFF,0x3F,
				0xFF,0x3F,
				0xFE,0x3F,
				0xFC,0x3F,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3C,
				0x00,0x3E,
				0xFF,0x3F,
				0xFF,0x3F,
				0xFE,0x1F,
				0xFC,0x0F
		}
};

// Medium digits 10x22
static const Font_TypeDef digits_medium = {
		10,          // Font width
		22,          // Font height
		44,          // Bytes per character
		font_H,      // Vertical font scan lines
		48,          // First character: '0'
		57,          // Last character: '9'
		48,          // Unknown character: '0'
		{
				// 0
				0xFE,0x01,
				0xFF,0x03,
				0xFF,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0xFF,0x03,
				0xFF,0x03,
				0xFE,0x01,
				// 1
				0xC0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xC0,0x00,
				// 2
				0xFF,0x01,
				0xFF,0x03,
				0xFE,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0xFE,0x03,
				0xFF,0x03,
				0xFF,0x01,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0xFF,0x01,
				0xFF,0x03,
				0xFE,0x03,
				// 3
				0xFF,0x01,
				0xFF,0x03,
				0xFE,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0xFC,0x03,
				0xFE,0x01,
				0xFC,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0xFE,0x03,
				0xFF,0x03,
				0xFF,0x01,
				// 4
				0x03,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0xFF,0x03,
				0xFF,0x03,
				0xFE,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x00,0x03,
				// 5
				0xFE,0x03,
				0xFF,0x03,
				0xFF,0x01,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0xFF,0x01,
				0xFF,0x03,
				0xFE,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0xFE,0x03,
				0xFF,0x03,
				0xFF,0x01,
				// 6
				0xFE,0x03,
				0xFF,0x03,
				0xFF,0x01,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0xFF,0x01,
				0xFF,0x03,
				0xFF,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0xFF,0x03,
				0xFF,0x03,
				0xFE,0x01,
				// 7
				0xFF,0x01,
				0xFF,0x03,
				0xFE,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x00,0x03,
				// 8
				0xFE,0x01,
				0xFF,0x03,
				0xFF,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0xFF,0x03,
				0xFE,0x01,
				0xFF,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0xFF,0x03,
				0xFF,0x03,
				0xFE,0x01,
				// 9
				0xFE,0x01,
				0xFF,0x03,
				0xFF,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0x87,0x03,
				0xFF,0x03,
				0xFF,0x03,
				0xFE,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0x80,0x03,
				0xFE,0x03,
				0xFF,0x03,
				0xFF,0x01
		}
};

// Small digits 10x22
static const Font_TypeDef digits_small = {
		9,           // Font width
		19,          // Font height
		38,          // Bytes per character
		font_H,      // Vertical font scan lines
		48,          // First character: '0'
		57,          // Last character: '9'
		48,          // Unknown character: '0'
		{
				// 0
				0xFE,0x00,
				0xFF,0x01,
				0xFF,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xFF,0x01,
				0xFF,0x01,
				0xFE,0x00,
				// 1
				0xC0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xE0,0x00,
				0xC0,0x00,
				// 2
				0xFF,0x00,
				0xFF,0x01,
				0xFE,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xFE,0x01,
				0xFF,0x01,
				0xFF,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0xFF,0x00,
				0xFF,0x01,
				0xFE,0x01,
				// 3
				0xFF,0x00,
				0xFF,0x01,
				0xFE,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xFC,0x01,
				0xFE,0x00,
				0xFC,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xFE,0x01,
				0xFF,0x01,
				0xFF,0x00,
				// 4
				0x83,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xFF,0x01,
				0xFF,0x01,
				0xFE,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0x80,0x01,
				// 5
				0xFE,0x01,
				0xFF,0x01,
				0xFF,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0xFF,0x00,
				0xFF,0x01,
				0xFE,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xFE,0x01,
				0xFF,0x01,
				0xFF,0x00,
				// 6
				0xFE,0x00,
				0xFF,0x01,
				0xFF,0x01,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0x07,0x00,
				0xFF,0x00,
				0xFF,0x01,
				0xFF,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xFF,0x01,
				0xFF,0x01,
				0xFE,0x00,
				// 7
				0xFF,0x00,
				0xFF,0x01,
				0xFE,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x00,
				// 8
				0xFE,0x00,
				0xFF,0x01,
				0xFF,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xFF,0x01,
				0xFE,0x00,
				0xFF,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xFF,0x01,
				0xFF,0x01,
				0xFE,0x00,
				// 9
				0xFE,0x00,
				0xFF,0x01,
				0xFF,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xC7,0x01,
				0xFF,0x01,
				0xFF,0x01,
				0xFE,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xC0,0x01,
				0xFF,0x01,
				0xFF,0x01,
				0xFE,0x00
		}
};

#endif // __FONT_DIGITS_H
